#define _CRT_SECURE_NO_WARNINGS 1

#include<stdio.h>

int main() {
    int n;
    while (scanf("%d", &n) != 'EOF') {
        if (n == 0)break;
        else if (n % 4 == 2)printf("yes\n");
        else printf("no\n");
    }
    return 0;
}